<?php

/**
 * Editionoptionsorder form base class.
 *
 * @method Editionoptionsorder getObject() Returns the current form's model object
 *
 * @package    symfony
 * @subpackage form
 * @author     Your name here
 */
abstract class BaseEditionoptionsorderForm extends BaseFormPropel
{
  public function setup()
  {
    $this->setWidgets(array(
      'idOrder'         => new sfWidgetFormInputHidden(),
      'idEditionOption' => new sfWidgetFormInputHidden(),
    ));

    $this->setValidators(array(
      'idOrder'         => new sfValidatorPropelChoice(array('model' => 'Clientorder', 'column' => 'idOrder', 'required' => false)),
      'idEditionOption' => new sfValidatorPropelChoice(array('model' => 'Editionoptions', 'column' => 'idOption', 'required' => false)),
    ));

    $this->widgetSchema->setNameFormat('editionoptionsorder[%s]');

    $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);

    parent::setup();
  }

  public function getModelName()
  {
    return 'Editionoptionsorder';
  }


}
